<!DOCTYPE html>
<html lang="cn">
<head>
{% module Template("head.html", show_comments=True) %}
</head>
<body>
  {% module Template("nav_top.html", show_comments=True) %}
  <div class="row-fluid">
    <div class="span8 offset2">
      <form class="form-horizontal" action="/equipment/edit" method="post">
        <input type="hidden" name="equip_id" value="{{ equip_id }}" />
        <div class="control-group">
          <label class="control-label" for="ChangJia">生产厂家</label>
          <div class="controls">
            <input type="text" id="ChangJia" name = "ChangJia" placeholder="生产厂家" value="{{ equip_data[1] }}" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label" for="XingHao">型号</label>
          <div class="controls">
            <input type="text" id="XingHao" name="XingHao" placeholder="型号" value="{{ equip_data[2] }}" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label" for="NianFen">年份</label>
          <div class="controls">
            <input type="text" id="NianFen" name="NianFen" placeholder="年份" value="{{ equip_data[3] }}" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label" for="GaoDu">高度</label>
          <div class="controls">
            <input type="text" id="GaoDu" name="GaoDu" placeholder="高度" value="{{ equip_data[4] }}" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label" for="BeiZhu">备注</label>
          <div class="controls">
            <input type="text" id="BeiZhu" name="BeiZhu" placeholder="备注" value="{{ equip_data[5] }}" />
          </div>
        </div>
        <div class="control-group">
          <div class="controls">
            <button type="submit" class="btn btn-primary">保存</button>
            <button type="submit" class="btn">取消</button>
          </div>
        </div>
      </form>
    </div>
  </div>
  {% module Template("footer.html", show_comments=True) %}
  <script src="/static/js/jquery-1.9.0.min.js"></script>
  <script src="/static/js/bootstrap.min.js"></script>
</body>
</html>